﻿namespace BloodlustFury.DataMiner.Business
{
	#region "Using Statements"

	using System;
	using System.Collections.Generic;
	using System.Linq;
	using System.Text;

	#endregion

	public static class Statistics
	{
		private static Double standardDeviation = 0;
		private static Double meanSquaredValue = 0;
		private static Double averageAbsoluteError = 0;
		private static Double averageRelativeError = 0;


		public static Double StandardDeviation
		{
			get { return Math.Round(standardDeviation, 2); }

			set { standardDeviation = value; }
		}

		public static Double MeanSquaredError
		{
			get { return Math.Round(meanSquaredValue, 2); }

			set { meanSquaredValue = value; }
		}

		public static Double AverageAbsoluteError
		{
			get { return Math.Round(averageAbsoluteError, 2); }

			set { averageAbsoluteError = value; }
		}

		public static Double AverageRelativeError
		{
			get { return Math.Round(averageRelativeError, 2); }

			set { averageRelativeError = value; }
		}
	}
}
